import axios from '@/utils/axios'
import moment from "moment";

export function addEmpScore(params) {
  return axios({
    url: '/EmpScore/add',
    method: 'post',
    data: params
  })
}

export function getEmpScoreNowPage(params) {
  return axios({
    url: '/EmpScore/nowPage',
    method: 'get',
    data: params
  })
}

export function getEmpScorePastPage(params) {
  return axios({
    url: '/EmpScore/pastPage',
    method: 'get',
    data: params
  })
}

export function getEmpScoreNowSearch(params) {
  return axios({
    url: '/EmpScore/nowSearch',
    method: 'get',
    data: params
  })
}

export function getEmpScorePastSearch(params) {
  return axios({
    url: '/EmpScore/pastSearch',
    method: 'get',
    data: params
  })
}

export function reAdd(params) {
  return axios({
    url: '/EmpScore/reAdd',
    method: 'get',
    data: params
  })
}

export function reDelete(params) {
  return axios({
    url: '/EmpScore/reDelete',
    method: 'post',
    data: params
  })
}

export function reBackAdd(params) {
  return axios({
    url: '/EmpScore/reBackAdd',
    method: 'post',
    data: params
  })
}

export function getOneEmpScore(params) {
  return axios({
    url: '/EmpScore/getOneEmpScore',
    method: 'post',
    data: params
  })
}

export function getSecondBack(params) {
  return axios({
    url: '/EmpScore/secondBack',
    method: 'post',
    data: params
  })
}

